/**
* GroupVOJs class
* @return
*/

function GroupVOJs()
{
    this.groupID="";
    this.groupName="";
    this.personCode="";
    this.orgCollection=new Array();
}

GroupVOJs.prototype.setGroupID=function (parameter) {
    this.groupID = parameter;
}

GroupVOJs.prototype.getGroupID=function () {
    return this.groupID;
}

GroupVOJs.prototype.setGroupName=function (parameter) {
    this.groupName = parameter;
}

GroupVOJs.prototype.getGroupName=function () {
    return this.groupNmae;
}

GroupVOJs.prototype.setPersonCode=function (parameter) {
    this.personCode = parameter;
}

GroupVOJs.prototype.getPersonCode=function () {
    return this.personCode;
}

GroupVOJs.prototype.setOrgCollection=function (parameter) {
    this.orgCollection = parameter;
}

GroupVOJs.prototype.getOrgCollection=function () {
    return this.orgCollection;
}

GroupVOJs.prototype.addOrg=function(orgVOJs) {
    var objCount=this.orgCollection.length;
    this.orgCollection[objCount]=orgVOJs;
}

GroupVOJs.prototype.getOrgCount=function() {
   return this.orgCollection.length;
}